package com.xyz.xservice.api.interfaces;

import com.xyz.xservice.api.XyzXServiceUrl;
import com.xyz.xservice.api.dtos.ResultDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;


/**
 * Created by byteworld on 2018/12/21.
 */
@FeignClient(value = XyzXServiceUrl.SERVICE_NAME)
public interface XServerInterface {


    //查询告警次数
    @RequestMapping(value = XyzXServiceUrl.TESTMYBATISPLUS,method = RequestMethod.POST)
    ResultDto testmybatisplus(@RequestParam(value = "userId") Long userId);



}
